package com.sdk.apiNotify;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

@Getter
@Configuration
public class TopicCfg {
    /// 主题名称
    @Value("#{'${spring.application.name}'+'.${spring.application.env}'  + '.liveData'}")
    public String topic;

    ///  重试队列名称
    @Value("#{'${spring.application.name}'+'.${spring.application.env}'  + '.liveData-retry'}")
    public String topicRetry;

    /// 死信队列名称
    @Value("#{'${spring.application.name}'+'.${spring.application.env}'  + '.liveData-dlx'}")
    public String topicDlx;

    /// 抖音队列名称
    @Value("#{'${spring.application.name}'+'.${spring.application.env}'  + '.liveData.' + T(com.coment.dto.LiveData$ApiType).douyin.name()}")
    public String topic_dy;

    /// 快手队列名称
    @Value("#{'${spring.application.name}'+'.${spring.application.env}'  + '.liveData.' + T(com.coment.dto.LiveData$ApiType).kuaiShou.name()}")
    public String topic_ks;


    @Value("#{'sdk.ks'+'.${spring.application.env}.'+'${spring.application.name}'}")
    public String ks;

    @Value("#{'sdk.dy'+'.${spring.application.env}.'+'${spring.application.name}'}")
    public String dy;
}